<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数据模拟器</title>
    <link rel="stylesheet" href="../css/element-ui/index.css">
    <link rel="stylesheet" href="../css/element-ui/element-ui.css">
    <link rel="stylesheet" href="../css/element-ui/fonts/element-icons.woff">
    <link rel="stylesheet" href="filldata.css">
</head>
<style>
</style>
<body>
<div id="app">

    <el-container style="height: 100%;padding:0px">
        <el-header style="background-color: #0F69DE;">
            <el-row>
                <el-col :span="5">
                    <h3 style="color: #ffffff">遥测数据模拟器</h3>
                </el-col>
            </el-row>
        </el-header>
        <el-main>
            <div class="contentDiv">
                <el-form label-width="120px" ref="form">
                    <el-row>
                        <el-col :span="12">
                            <el-form-item label="数值1" :required="true">
                                <el-input v-model="data1" placeholder="请输入" type='number'
                                          maxLength='6'></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12">
                            <el-form-item label="数值2" :required="true">
                                <el-input v-model="data2" placeholder="请输入" type='number'
                                          maxLength='6'></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                </el-form>
                <div slot="footer" class="dialog-footer" style="text-align: center">
                    <el-button size="small" type="success" @click="doSubmit" class="custom-button"
                               :disabled="submitBtnFlag">提交
                    </el-button>
                </div>
                <el-row class="error-msg">
                    <el-row  v-for="(msg, i) in alertMsg">
                        提醒{{i+1}}: {{msg}}
                    </el-row>
                </el-row>
            </div>
        </el-main>

    </el-container>
</div>
</body>
<script src="../js/vue/vue.js"></script>
<script src="../js/element-ui/index.js"></script>
<script src="../js/jquery/jquery.min.js"></script>
<script src="filldata.js"></script>
</html>
